from django.urls import path

from apps.houses.views import AreasView, NewHousesView, Hose_sourse_View, Hose_list_View, Hose_list1_View, \
    HouseDetailView

urlpatterns=[
    path('api/v1.0/areas/',AreasView.as_view()),
    path('api/v1.0/houses',NewHousesView.as_view()),
    path('api/v1.0/houses/<house_id>/images', Hose_sourse_View.as_view()),
    path('api/v1.0/user/houses/', Hose_list_View.as_view()),
    path('api/v1.0/houses/index/', Hose_list1_View.as_view()),
    path('api/v1.0/houses/<house_id>/', HouseDetailView.as_view()),
]